package org.hhh.order.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.hhh.basic.domain.Base;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ProductOrder extends Base {
    private String digest;
    private Integer state;
    private BigDecimal price;
    private String orderSn;
    private String paySn;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date lastPayTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date lastConfirmTime;
    private Long product_id;
    private Long user_id;
    private Long shop_id;  //分配
    private Long address_id;

}
